package org.loong.crypto.common.exception;

public class CryptoException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    /**
     * Constructs a new exception with <code>null</code> as its detail message.
     */
    public CryptoException() {
        super();
    }

    /**
     * Constructs a new exception with the specified detail message.
     *
     * @param message the detail message.
     */
    public CryptoException(String message) {
        super(message);
    }

    /**
     * Constructs a new exception with the specified cause.
     *
     * @param throwable the throwable.
     */
    public CryptoException(Throwable throwable) {
        super(throwable);
    }

    /**
     * Constructs a new exception with the specified detail message and throwable.
     *
     * @param message the detail message.
     * @param throwable the throwable.
     */
    public CryptoException(String message, Throwable throwable) {
        super(message, throwable);
    }
}